solved euler 32, happy with run time