Finished Project Euler 6