added possibility of colouring nodes
added computation of filtering graphs
further prep