dichotom function

Dichotomizes the variables in a data frame