Wrote isKingInCheck using movesets from the pieces, also isSquareInCheck for checking empty squares for castling
removed debug alerts