changing default values for num classes
fixed while loop
fixed classification requirements