How To Create A Binary Tree In Python Code For Snake