Initial commit
Made the core loops more general and added logistic regression
Added logistic regression and made the main loops more general