A java troop calculator for Clash of Clans