Added a tree structure to simplify draw the game tree.