Linked list data model implemented with arrays in Ruby.