Added classifying classes and edited code for F scores.