splitData function

Elongate data.frame with column split by comma