move static int array functions to IntArrays class