adding an example generator for tutorials