Cycle bases. Revised Output. Pawan