check for legal pawn moves