Made Pegasos code object-oriented, with appropriate documentation. Still
not generalized for arbitrary data dimensions, however