Modified multiplexer for 3 inputs and 2 bit selector