Implement logistic regression algorithm. Start with just the two class problem, then build up to multi-class.