Complete Binary Tree Python Code For Games