Added beginning of implementation for the pegasos algorithm.