Add solution to euler10.