R Programming solution on LASSO and Cross Validation Task