Added solution to Euler's 17th problem - still needs refactoring