bstreeToArray

made, commented, and tested the bstreeToArray method.
Fix arrayToBSTree and GetHeigth

Alright.  Fixed the memory leak from arrayToBSTree.  Also made
GetHeigth.  I don't know if it is commented.