I fixed a segfault error in the list add but there is still a pointer issue in the function that prevents it from properly placing new items in their sorted location. The code is also a mess and should really be cleaned up.