Added max and min in binary tree