Begin implementing minimax. Write gen-moves function