Closes #236. Performance test of indexing.

It would be very elegant to have all the instructions in the for loop in a separate method like 'generateCcJudgment()'.