Update logistic_regression.R

Add additional command line argument for dimension. So user can push this value at run time as per their input data set.