Move the creation of the MetricDatum List inside the shards loop.

A maximum of 20 items are allowed to be placed in the PutMetricData request.
When the List is created outside the loop, if there are more than 3 indexes then
the total number of datums will be > 20 and hence cause the PutMetricData
request to be rejected.

http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/cloudwatch_limits.html
Merge pull request #4 from copiousfreetime/twenty-at-a-time

Move the creation of the MetricDatum List inside the shards loop.