euler 14 completed, works pretty well