A linked list implementation in ruby