added const to relevant functions
Added clear function, and min/max now throw exceptions on empty trees
Added isEmpty() function
Added destructor