This a basic functionality implementation of binary search tree