tried to fix toThrow line in LinkedList test and added start of findMedian