Add a sample graph according to example in wikipedia
http://en.wikipedia.org/wiki/Connected_component_(graph_theory)