Refactored to use a linked_list struct in addition to node. Did the insert call