adding project euler 6 solution