added classification/CV code for logisitic regression