implemented attack/defend army requirements calculator