Moved the unconnected wire removal code into its own function
Moved the unconnected wire removal code into its own function

nvandervoort/PyRTL,UCSBarchlab/PyRTL,nvandervoort/PyRTL,deekshadangwal/PyRTL,deekshadangwal/PyRTL,UCSBarchlab/PyRTL