For AGI-14 

This includes 
* simple examples of Pattern-Matching,
* functions for easily dealing with r2l outputs