Removed debug lines.
Integrated new parsers with the main logic.
Removed hadn written parsing.
Removed hadn written parsing.
Generalised common code ahead of refactoring.
Removed dead code.
Added testing for printing full circuits.
Refactored common code into a separate function that takes a function pointer.
Removed dead code.