Update src/arrays.h

Adds an array struct with one function.