Comments like this are certainly helpful:
gyroZ = Wire.read()<<8|Wire.read(); //Store last two bytes into accelZ
Gyros drift, so you first have to calibrate it to determine offsets. Google "arduino integrate gyro" for lots of helpful pages.
However, avoid this page on the Arduino playground, as it is almost entirely wrong.