ArrayUtil class created with helper methods for arrays