swapped players in TreeNode/createChildNode to fix an issue with game tree