Working AppendEntries and Simulator