changed deleteVoxelCodeFromTree() to use recursion to allow for proper unwinding, updating of parent path