Implementing A Binary Tree In Python