prog exercise 6 on SVM completed