Some data structures implemented in c++