python to c++ fixes
edit distance test working
code cleaning
removed malloc