def get_value(old_state, new_i):
    """
    Returns the value of the moved tile
    
    old_state: a list representing the previous state
    new_i: a tuple representing the coordinates of the moved tile
    """
    
    return old_state[new_i[1]][new_i[0]]