Example code not working (wire.write and wire.read)

Could you be a bit more specific about "doesn't like"?