Update hoffmanencoding.cpp

Set pointers to parent/children to 0 when each node is first created without those parameters.