Refactor and Optimise the existing combinatorics SAGE code using the new developed PYTHRAN and CYTHON features

Summary
Refactor and Optimise the existing combinatorics SAGE code using the new developed PYTHRAN and CYTHON features