Union Find percolation, and some cleaning
reorganization and add of bs and triple file