added support for arrays #16
Merge pull request #17 from rohitsw/master

added support for arrays . resolves #16