A sample singly linked list implementation in ruby