Shape examples

Note that these four examples go through a progression of building up the same inheritance hierarchy, but adding or changing a little from example to example.