rename constant to upper case
encapsulate example code to functions to avoid side effects
adapt setup.py to the now-deleted hangmodule.c extension