Complex networks ex2 + ex3