Chip8 emulator using SDL