adds OR gate and expands reg/wire to use an array for multi in/out