https://www.mphysicstutorial.com/2021/01/4-to-1-multiplexer-and-demultiplexer-in-advanced-electronics.html