Commited changes in isCheck function, as well as commented out the old version of pawn moves.
In addition, isCheck will actually flag the move as check, and give the move a point value.