Data Structures and Algorithms Demonstrated in Ruby