Introduction To Consensus Algorithms