Solutions to problems on Project Euler (kinda dumb, mostly iterative solutions)