def validator(coord):
    """ 
    Coordinate validator. 

    Used to ensure that coordnates of move are within the gameboard boundaries

    Parameters: 
    tuple: (x, y)

    Returns: 
    boolean: Within boundaries True or False

    """
    for x in coord:
        if x not in range(0, 8):
            return False
            break
    return True