More functions + example (euler 56 solution)