Create a function in Python to find the maximum value in a list.
List of values: [13, 25, 37, 49, 61]
def find_max(list):
    max_value = list[0]
    for value in list:
        if value > max_value:
            max_value = value
    return max_value