Partition a singly linked list

partition around a number x 2.4