dummy_dt function

Fast creation of dummy variables