Quick, hacky experiment with rotary encoder.

Reading a cheap rotary encoder successfully was a bit of an uphill battle
but this program shows how it can be done in isolation. Something like
this will eventually be incorporated into the main program.