Methods for working with binary search tree. Support for duplication.