Binary Tree Creation In Python