linked list in ruby