Added determining Check

Added determining if the player is in check.