Validated the Pawn Movement and the Rook Movement