Functional linked list, semi functional binary search tree