Implementations of textbook data structures