My Implementation of some data structure