A chip8 emulator written in Haskell