add array-debug module to library codebase