Creating Binary Tree In Python