Code for the class project: tidying a data set for analysis ("Human Activity Recognition Using Smartphones Data Set").