solution for project euler problem 6
unit test for problem 6