chip8 emulator in java