python and cython code for homework 3
homework 3 code