added expression test mode and error checks to recreator

expression test mode appends the string on top of the holding stack
checks to make sure stack is empty, and stack not empty on pop