Reposting my older circuit (I had made them all private for some reason). This circuit selects which input stream is routed to the output. Inputs on the left are accordingly inputs A and B, the input on the right is the address bit. Logic tables are useful for each logic circuit to make sure no errors are made.