Building Svm Classifier From Scratch