Distributed systems homework