Simple paxos-based replicated log implementation for learning purpose