Is King In Check

I added the functionality to determine if the king is in check