Added helper function for reproducing a game from a list of moves