Add a rotation example to the documentation.

I noticed that there aren't really any examples in the documentation, so when I figured out how to use the rotation features, I just wrote one.

The examples in the documentation can also be run as a Make target now, too.