Implementation of some data structures algorithms