Add svm algorithm for 2 classes