Implemented more log.
Fixed election for up to 3-5 nodes.