Add singly linked list implementation in Ruby