added logisticRegression.py, albeit incomplete