signal menagment
introduced threads.c to store thread's ip
wrote methods to clean semaphores