NES emulator in golang