simple linked list based stack python-c api example