is_king_in_check is functioning now