almost completed implementation of NetlistPin. TODO: add edge between
top level output pin and input pin