add guest and restaurant code example for semaphore