Removed mutex_lock, implemented with semaphores
Semaphores working, threads calculate sqrt