Initial example of the use of an STMTree (Needs a better name)