This simple propgram simulate the operation of elevators on a building that have M floors and N elevators. When a building received a signal from a floor to get the a elevator (up or down), the building will get the most suitable elevator and send it to the floor. When elevator came, user can pick destination floor of the elevator.
Simple operation was writen in App.rb