A Haskell 6502 Emulator