find maximum between two without compare