Extracts function to print the solution

* Will go to the Circuit class later...
Extracts function for getting netlist file