Added classlist and numunique

Added the classlist array, which contains the list of unique classes.
Numunique is the number of unique classes.