def create_all_possible_moves(m, n):
    """Create all moves on a (m,n) board."""
    moves = []
    for i in range(m):
        for j in range(n):
            moves.append((i, j))

    return list(set(moves))