extended the code to define the shared object file to interface with Python