an experimental version with debug output for doing contig level
consensus, TODO: clean up code, check some of the boundary condition
more tidy and improved  verison for falcon.c used for utgcns-like
purpose

add some safty guard and make it allowing negative offsets

two examples of python wrapper for calling it