A Ruby solution to a code challenge based on an Air Traffic Control system