public int findMaximum(ArrayList <Employee> employee, int i)
    {
        int j, max = i;
        for(j = i + 1; j < employee.size(); j++)
        {
           if (employee.get(j).getGrossPay() > employee.get(max).getGrossPay())
               max = j;
        }
        return max;
    }