updated classifer.py

Commented and tested!