A NES emulator written in Python