added python binding using Swig