linked list in Ruby.