Elevator system in Ruby