def sum_map_values(map):
    """
    Utility function to sum up the values of a map. Assume the map values are all numbers
    """
    total = 0
    for key, val in map.items():
        total += val
    return total