#10 Added map-reduce functions for hourly aggregation.
#10 Added basic map-reduce implementation for hourly aggregation.