add implementation of order statistic tree and corresponding unit tests