Setting two Xbee for comunication

Hello everybody

I am trying to set two Xbee shields for network comunication, but something isn’t just right…
I am following tom Igoe’s Tutorial from his book, and I am using an Arduino board…i Will attach the code file for anyone interested.
Following Cairn tutorial http://www.humboldt.edu/~cm19/XBee%20setup.pdf, i managed to make them comunicate, and here is what i get when sending ATND command on X-CTU:
Coordinator reading router
18ED --------> router MY?
0013A200
40340F7A
ROUTER -------->node identifier
FFFE
01
00
C105
101E

Router reading coordinator
0000 --------->coordinator MY
0013A200
403E20E6
COORDINATOR ---------> node identifier
FFFE
00
00
C105
101E

I think the problem is in the line 33 of the arduino code, where you have to set destination adresses
here is the line from the router code

Serial.print(“ATDH0, DL0000\r”);—> DL000 should be the module adress to whom router speaks to
Serial.print(“ATMY18ED\r”);----> personal module adress of the router

Serial.print(“ATID1111\r”);-------> networkID
Serial.print(“ATCN\r”);

Can you tell where i got Wrong?