Various Project Euler solutions