A Nes emulator written in Java for education purpose