svm

added training and classify function