Updated example

Library is now fully functional