almost finished with the sorted, length limited linked list