Binary Tree Using Python For Automation