restructuring of CPU and added instructions

Restructured the way CPU registers and flags are stored. Implemented
first two rows of instructions (0x00 -> 0x1F), excluding JR and LD
instructions