Update AttackAlgorithm.java

Modified algorithm to implement strategy design pattern.