Populating Next Right Pointers in Each Node - Leetcode 116 - Python