Create utility.py

Collection of my reusable recode snippets.