Completed question 1 of Networks cw 2