Practical Work 2 for Complex Networks class