A CHIP-8 emulator