adding svm python code