Added ArrayUtil containing functions dealing with arrays.