adding graph examples
bugfixes