Some progress made on CPU simulation code

About half the instructions are implemented now. No testing has been performed
as of yet.