I've provided all the code you need here - the error is on the last line and it's snowballing down the rest of the header file making it impossible to actually get any of the functionality of the tree done.
Can anybody tell me how to fix this? After that piece of code all of my errors have something to do with 'ND' not being right and I get stuff like