Some data structures
Pretty much working