CheckClassification: Checks classification
Description
This function checks classification for problems, and terminates the
program if necessary
Usage
CheckClassification(group, n)
Value
Nothing; text output if problem occurs
Details
Called by higher-order functions; users do not need to call this
function directly.