Updated signature of validMoves
Uses Pawn Jump Flag and changed ValidMove
Changed ValidMove and made some corrections to signature.