Simple generic array library for embedded c applications