create.dummy.vars function

generate data.frame with dummy variables for each promotion period