Changed GATES class to new style.
Added Tristate package and tristate module.
Implemented tri-state buffer.
Implemented is_connector function.
Fixed mistake in buffer.
Added name as an optional parameter for connectors.
Implemented getConns method for gates.