Checks for valid pawn movements