Reshape function

Reshape data frames or data sets