changed wiring to support two more address lines

changed code accordingly