added array arguments and accompanying test, updated readme.