How To Build Binary Tree In Python