Had to make some chnages to make the code work on codebender (which seems to run a bit older version of AVR-LIBC. The compiler didn't like array constructor initializations either..
For information on installing libraries, see: http://arduino.cc/en/Guide/Libraries