Added modified i2c.c file for i2c programing