Updated procs-shm for the third exercise