Reword "array" input syntax documentation

Adds a bunch of documentation on the different types of arrays that can be passed in, as well as how they can work together. Also adds examples in multiple languages to help with understanding the concept.

Fixes #140.