Make Treap<T>::iterator a random-access-iterator. Most operations are O(log n). Add usage in driver.cpp. TODO: Unit tests.