Restructured main loop BC sorting + creating output
Output saved
Merge pull request #2 from md987/master

Creating output + restructuring BC sorting
Merged my fork with the code from Tomas' master to be up to date

Merge remote-tracking branch 'upstream/master'

Conflicts:
	sim_ph1pixineff/DataFlow/DataFlow
	sim_ph1pixineff/DataFlow/DataFlow.cpp