Fixed -Wcast-qual compiler warning.

Removed casts from const to nonconst pointer types,
updated type member of struct Node to be const char *.