Greenwald khanna algorithm for online computation of quantiles
http://infolab.stanford.edu/~datar/courses/cs361a/papers/quantiles.pdf
Insert and query methods are implemented completely according to the paper except that the buffer is implemented with a list and not a tree. Delete method is missing.