Project Euler solutions.
Really bad code, just wanted to maintain it somewhere.