implemented basic move rule for pawn