Gameboy emulator in Java