linkedlist in Ruby.