Created stm/utils.py and added a decorator, atomic_function, that causes calls to its decorated function to be implicitly wrapped in a call to atomically()