Binary tree and Binary search tree implementation