summarize function

Summarize a variable/dataset