Added ports: Input, Output, tri-state, and open collector.
Changed Addressing scheme to be more efficient by checking only bits which are '1'. This implies that only certain addresses can be used. README.md has been updated with an explanation.