example cython extension