Finding leader in array