Added an isDead() method in troop
added updateTroops() method in battle to check if there are any dead troops