added python binding
updated makefile script