worked on building bin tree from a linked list