Aggregation function almost done
Aggregator Last BUG: dictionary changes size during itteration Line 221
Not tested but should work