doc: add condition tutorial

First cut of a tutorial on conditions.