Calculating pay and overtime