add ex6 for svm and spam email classifier