Added docstring for arraycontainer main function