Added code to classify using Logistic Regression and also calculate the metrics