Improve Project Euler problem 009 solution 1 (#4749)
Improve Project Euler problem 009 solution 1 (#4749)

* Improve solution

* Uncomment code that has been commented due to slow execution affecting Travis
TheAlgorithms/Python