Partition LinkedList given around val