message: update populating-next-right-pointers-in-each-node.py
diff: @@ -20,7 +20,7 @@ class Solution(object):
  def connect(self, root):
  head = root
  while head:
  - prev, cur, next_head = None, head, None
  + cur = head
  while cur and cur.left:
  cur.left.next = cur.right
  if cur.next:
  