Add simple example code (needs refinement for tutorial)