Added code to read the value of all 16 address pins.
Added a delay in the loop function to simulate 4mhz ticks.