A set of algorithms to create and operate graphs