Solved project-euler problem 38.
Doubled the performance for problem38.