binary search tree algorithm implementation in MIPS