Solve Kata Rx Consensus with Erlang https://github.com/varokas/kata-rx/wiki/Kata-RX-Consensus