#14: Added docstrings to all functions. Universal functions moved to utils.py.
Added docstrings to utils.py.