function result = myMax(data)

    result = data(1);
    for item = data(2 : end)
       if item > result
           result = item;
       end
    end
    
end