Added debug example to the library