A collection of helper functions, data structures and algorithms