A simple SVM(support vector machine) in swift