Code for the tutorials

Fixes #18.

We should have the finished code to go along with the tutorials. As I go through the tutorials, I'm going to add the code that I end up with here.