add new printGraph method