These ar ethe changes Mandeep sent me in which we debugged and got the program to run with our in-terminal simulation. Time to try it out with Zeno