Mulitplexer

Code for multiplexer, reading digital input from 8 extra pins.