Added pawn's move functions and overall checkForCheck function.