various useful data structures (c++)