remove_empty_cols function

Removes empty columns from a data.frame.