Haskell Chip16 emulator