Binary Search Tree implementation and related operations