Example virtual machine and compiler written for a compiler class at University