I am trying to create a binary search tree and i\'m tackling a problem where when i\'m trying to add a value in a struct parameter, it immediately gives an exception write a