SuperChip emulator in python