Updated Delete Function (pending min and max) edit max, min and balance factor, and add the stack in the addNode