updated problem 2 for learning_support_vector_machines