qvm to cpp; messing around with makefile and xcode