Java: Library files for Binary Tree and Doubly Linked List