added a shared library example