CHIP-8 Emulator written in C