Modified 2-5 to use utility function linked_lists_equal() in assertions, rather than unpacking the resulting linked list and calculating the integer value it represents.