toString method in Node.

Fixing a bug when printing a node with toString method.