Added synchronised threads (semaphores) example