NES emulator in c++ 11.