Support code for the examples. Code that's not relevant to the principle each example demonstrates is largely offloaded to this directory.