LinkedList: extracted insert functionality into method `insertBetween`