added code for binary search, worked on bst insertion