CPU simulator.
Merge pull request #2 from jedlickat/master

CPU simulator.