An emulator for Chip8