#7 create a method to parse a string of integers into the nodes of the linked list