array: new module to handle basic arrays

It just have a few functions and macros to do what you would write by
hand.

Signed-off-by: Celelibi <celelibi@gmail.com>