See http://projecteuler.net/problem=20 for a description of the problem.