First homework for university Distributed Systems course.