Simple chip8 emulator