Added explaining variables in the calculatePay method. Added test for overtime detection. Removed "role" state keeping variable.