Added code for ch28 for section 'Share Upvalue'