Logic Gates and Computation from Assembled Nanowire Building Blocks