An 6502 emulator in F#