Adding codes of lab11 (i2c)