Added a "naive" iterator add method to illustrate how the performance
can become O(N log(N)).