//if the name in the first column is in the set then print it and any other names in second column also in set
if (names.count(firstCol) == 0) {
//if the name in the first column is in the set then print it and any other names in second column also in set
if (names.count(firstCol) == 0) {