Refactoring of CPU

Added type check in GETFIELD, STV,SETFIELD instructions.
Some errors occur (in CPUTest#test1)