A Java based NES Emulator