move out ListNode class from RemoveDuplicatesFromSortedList class