dynamic array: added header API documentation
added documentation for dynamic array.c