fixed some bugs

fixed the subtraction bugs, fixed the bugs that load either I or V0-VX.
some weird bugs still occur in some games, like breakout. also moved
dumpstate() to be part of the chip8 object.