function Util.Map(f,S)local m={}for f,x in ipairs(f)do m[f]=S(x,f)end return m end
--- Maps values of an array through a callback and returns an array of mapped values
function Util.Map(array, callback)
	local results = {}

	for i, v in ipairs(array) do
		results[i] = callback(v, i)
	end

	return results
end
