Revised version of multiplexer and test bench

sorry! checked the syntax and test bench alrdy!