Added validation for pawn moves