Simple Virtual Machine in C++