Update cookie_clicker.py

code optimization - http://www.codeskulptor.org/#user35_S4ZMZewVxT_0.py
100% pass on owl test