Update chip8.cpp