Solutions to Project Euler 3,5,8