modify print methods to output proper Python code--can now round trip expressions! add safety net at bottom of state machines