Implementation of some of the basic data structures.