My implementation of some data structure