castling corrections
PerdictCheck disables nonpawn pieces from moving while king in check