Optimizing Python Program With Cython