Solutions to various problems on Project Euler