python vs c code
fixing minor bugs
To Do
testing Alogrithm