to_factor function

Convert Variables to Factors