fixed #573
first cut at return statement
finished the return stuff
initial version of the state machine trigger example language
finished the tutorial language on state machine triggers