Create LogisticRegression.py

This is the code for running the Logistic regression Algorithm on Spark on a local Cluster