Added ability to pass arrays to a monad.
Updated readme.
Added tests.