Max 7219CNG and Led Matrix

Hello,
I have a MAX7219CNG chip and a 8x8 Red Led Matrix (KPM-2088ASRND),
I am pretty sure I did the cable work correct and I followed the tutorial for 7219 Library at the Arduino website.

But simply it does not work. Below is a picture that shows the pins and rows of the led matrix:

As shown there I connected the pins to the corresponding pins of the 7219, ie. For the first row it shows Pin 9 on Matrix and for 7219 top row is Dig0, so from Dig0 to Pin9 goes and so on.

Anyway still doesnt work, just lights up in weird patterns.
Any ideas ?
thanks.