Added example to show use of the library.