LoopGraph.cpp: Fixed bug in purgeGraph when the -1 appears on a bypass edge. Now it correctly checks that the nodes being eliminated are actually in a loop that can be commuted such that the two canceling gates connected by the bypass edge can brought together for elimination.

LoopSymbol.cpp: Fixed LoopSymbol::rotate to use the correct reflected algebra when rotating CCW loops

main.cpp: Various changes and added while loop to BFS to allow repeated BFS searches without restarting program.