Assignment 2, part2 : Network stuff done.