Adding Python bindings using SWIG