Remove BUF Gates
A simple function to be added to the L_Circuit class, remove_buf_gates(), which will go through the current circuit and remove all buff gates by replacing references to the output wire with references to the input wire.
NOTES:
- If the input to a BUF gate is an INPUT or a KEY INPUT and the output wire is an OUTPUT, then we CANNOT remove the buf gate
Edited by Jon Shahen