Example code to create a c++ library that can be wrapped with Swig so that it can be used with Go