solution to euler 4