my code towards solving the problems at projecteuler.net