Compare arrays.

Closes #8.