Treaps seem to be working. No testing done