Added earnings function in Nurses, Staff and Physicians classes.