Represent Binary Tree Using Python