Removed Print Statements in Purgegraph to clean up output.
Changed BFS Code to output all loops and their actual gate count after rotations.