exercise max(a,b) added