fixed bugs with different players starting
added move sorting to getAllMoves to help with pruning
added ability to restart previous game to GUI