function Functional.Map(A,U)local l={}for d=1,#A,1 do l[d]=U(A[d],d)end return l end

function Functional.Map(list, callback)
	local new = {}

	for key = 1, #list do
		new[key] = callback(list[key], key)
	end

	return new
end
