Project Euler Hackerrank Solution Python W3schools