removed dangling debugging print statement
added data generator to examples