Implementation of various data structures and algorithms