Fix circuit simulation of counter

Change lower branch to 10/second count
Add C impl of CHIP-8 vm

- Simple file opening and binary read checking
- VM definition
Remove C macro, replace with cast

Cast is neater in this situation
Add OCaml implementation

It uses mutation, so it's not perfect yet