add draft source code for in-class examples