cond now handles sequences of actions rather than only evaluating the first action
finish implementing of cond - one problem was incorrect generation of 'if' statements