Initial upload

main.cpp, emulator.cpp and emulator.h all run together.
GPemulator.cpp runs on its own.