add algorithms for iterating over graphs.:
forgot to add expected result for previous classs.
forgot to add changes to graphs.