Update problem_010.py

It is faster, but not fast enough.