def get_list_of_numbers_to_move(original_state, *list_of_possible_moves):
    """
    This function stores all the possible moves the player can move each time, in a list, to help validate whether each move is valid or not

    Parameters
    ----------
    original_state: List 
        it is the randomised list  of numbers 
    list_of_possible_moves: list
        it is the list of possible moves the player can move

    Returns
    -------
    lst_of_numbers_that_can_be_moved: list
        this is a list of the possible moves the player can move

    """


    lst_of_numbers_that_can_be_moved = []
    for i in list_of_possible_moves:
        lst_of_numbers_that_can_be_moved.append(original_state[i])
    return lst_of_numbers_that_can_be_moved