Got isLegalMove to include checkKing