Method getPayrollRows in Payroll class was implemented.
It uses for cycle during generating payroll's rows.