solved euler27, not highly efficient, and stopped code before program completed, but solved by guessing at highest number printed after a few seconds