Updated variable names

Renamed variable RR to numberOfRows and CC to numberOfColumns to reflect their functionality