Implementation of some commonly used data structures