created class definition for the suppor vector machine class