a simple Apple 1 emulator in Python