A tiny virtual machine in c++