Exercise 1 for Distributed