My attempt at solving some Project Euler problems