Make balance binary search tree
added balancing function in typescript_bts.ts