Removed extra loop in batch operation
substituted map with each
added comment to perform batch operation in loop
Merge pull request #99 from miguelrios/batch_example

Removed extra loop in batch operation