My homework solution for 6.824 Distributed Systems Engineering of MIT