Uses a binary search tree to do the same job as music_search