Binary Tree Upside Down - Python