Stack function

Stack columns from a data frame and include variables.