MapReduce code to find outliers in Timeseries data