Change Variable names

RR and CC are unclear variable names, they are hard to understand when someone first look at the code. So, to make this code more understandable and clearer, they are changed into numberOfRows and numberOfColumns.

int ORDMAX should be written as ordMax.