Implementation of some mostly used data structures