fixed logic for EasyBot.findKingAttack and findKnightAttack