script to create tidy data set from the initial set