Adds method for getting next moves.
Adds functions needed for MiniMax. Cleans up some of the old variables.