Formatted classify.cpp