Re-implemented the binary search tree data structure
Stats update