Added Functionality so that the architecture works with multiple elevators rather than 2