Adding mutations

General bug fixing, and added stub method into Core to mutate
instructions when they are copied during process spawning.