Changed commit index to scratch inside follower, candidate, and leader
so they are updateable