Added some code for working with a provided stack language.