atempts at pro euler 3