Commented and tested

Comments for everything, and code cleaned up a bit. arrayToBSTree fixed
to run in n time rather than n*logn