Fixed  memory corruption.
Increased the encapsulation of the stack pushing operations.
Fixed errors in the refactored stack pushing code.
Made the interpreter run GCD and LCM algorithms. Fixed some errors on the way.