program to calculate the work hours to manage workers, create payroll