Converted to C++
Removed nesCPU.c