Tutorial and notes from the scratchpad.