A simple chip8 emulator.