This is an implementation of "R. V. Renesse and F. B. Schneider, “Chain replication for supporting high throughput and availability” in Proc. of the 6th Conf. On Symp. On Operation Sysrt. Des. & Implementation, vol. 6. San Fransisco, CA, USA, 2004, pp.7-7 [Online]. Available: https://dl.acm.org/" with some custom modifications.
San Jose State University students should not copy any part of codes for homeworks. The action violates the academic integraty.