Solutions to a few Project Euler Problems