Binary Tree Using Python Libraries