A simple array implementation written in C