RestaurantSim simulates a real life restaurant which receives a time duration.