Singly linked list in Ruby.