Charlieplexing 30 leds

Hi !
I received my first arduino this friday and I decided to work on my first project: charlieplexing 30 leds.
I found this schematic online :

(used for this project: http://ominoushum.com/life/)

So here is my code:
http://www.copypastecode.com/codes/view/1377

It's far from perfect, but it works and display a nice little ghost: