Solved euler 6