C++ Chip8 Emulator rendered using OpenGL