first commit, solution to the 2nd problem in projecteuler