Solutions to projecteuler fun problems