check the square contains the piece you're trying to move