Problem 18 was really problem 67.  Both problems can be solved with the same code. http://projecteuler.net/problem=18