Improved, but not finished, attack method to use recursion