function out = find_min(t)
 if isempty(t.left)
     out = t.key;
 else out = find_min(t.left);
 end;