Vintage algorithms and data structures in Ruby