added a simple binary search tree implementation in js