Update hoodie.py

Added changes from my fork of the gist that Nantas missed.  Bad nantas