private void SetRanges(String[] strRange, int[] range, int length)
    {
        for(int x=1; x<length; x++)
            //convert string to number
            range[x-1] = Integer.parseInt(strRange[x]);
    }