Working on interpreter, chapter 2, exercises