Finished 2nd Solution - Using Linked Lists