BinarySearchTree: added recursive insertion function

Well, the point is still what we update,
i.e. root->link[dir].
Merge branch 'master' of https://github.com/hunterhu/test-ground