added shared memory to shell.c and cpu2.c (a temporary cpu for testing the shell)