In chip8 class, error in calculation of X_ and Y_