Added in desired I2C function templates.
Added the code to the I2C functions