python 3 version of linkedlist, problem 2-1, and unit testing