Examples:
const l = new LinkedList();
l.insertLast('a')
l.insertLast('b')
l.insertLast('c')
midpoint(l); // returns { data: 'b' }
function midpoint(list) { let slow = list.getFirst(); let fast = list.getFirst(); while(fast.next && fast.next.next) { slow = slow.next; fast = fast.next.next; } return slow; }