Added phase1 (generate random 3regular graphs) and phase2 (swap 2 edges) to the ajtai method