program to calculate year-work-hours