added resample module to chapter 8

added resample code to aggregate month wise stats