added max element finder in unimodal array in logn time