added logistic regression classifier

Added a Logistic Regression class and its dependencies. Included a sample program to demonstrate the usage of a logistic regression classifier. Fixed my previous pull request's errors on whitespaces. Also updated the documentation for the added features.