Emulator for the Chip8 virtual machine