Completed the external addr mux.
(1) Adding logic to extraxct the w_16 word. (2) Adding w word write control.
Added logic for d0 function. Added logic for w_update.