the 6th assignment of machine learning class in coursera: Support Vector Machines