A nes emulator