delete middle node, linkedlist separation based on >= or <