A simple generic array library for embedded c applications