Binary Tree Using Python For Front End