Demo the usage of swig