Linked list implementation in Ruby, following some Ruby idioms.