Completed code to create a tidy data file

Completed code to create a tidy data file, summarising the samsung file