Implemented exercise 2.4 - Partition linked list around value x such that all nodes less than x come before all nodes greater or equal to x.