solving Project Euler Problems