Renamed variables and cleaned up printPrimes() method.

Renamed CC,RR to numberOfColumns and numberOfRows respectively. Used for loop rather than while loop in printPrimes() to update rowOffSet index at start of loop rather than at end.