Refactoring program counter system to fix bug where if last instruction in memory tries to execute, an invalid jump target error was thrown
Reset machine function now resets last program counter as well