Update AttackAlgorithm.java

Test