Custom Solutions for Problem 13 of Linked List