Created coordinator

Still has to include the use of semaphores