Update chuck_util_functions.py

modularized, and now accepts me.dir(), me.dir(0), me.dir(-1)..etc.
seems to work under my ideal circumstances.