Add ProblemThree solution. Add printNodes() function to Node object.