Added 'Check' logic, debugging 'Check Mate' logic