project euler with test case