Removed debug print. Moved progress. Added start and end index to embarassingly parallelise CC over cores.