MR2 - Generate co-occurence matrix - Unit tested