A better I2C master library, originally by Wayne Truchsess. See http://dsscircuits.com/articles/arduino-i2c-master-library.html
On most Arduino boards, SDA (data line) is on analog input pin 4, and SCL (clock line) is on analog input pin 5. On the Arduino Mega, SDA is digital pin 20 and SCL is 21. (source: http://arduino.cc/it/Reference/Wire)