created data type to hold song data and aggregated values. Also implemented methods for aggregating segments