Worked on process_join() using semaphores.