A CHIP-8 emulator written in OCaml