Can anyone help me decipher the code a little
Sure. What part(s) of it don't you understand?
how the wire library works
The beauty of using a library is that you don't have to know how it works. If you want to understand that, read the code.
and stuff.
Nope. Can't help you with that.