return function(M,l)for M,v in pairs(M)do if v==l then return M end end return end




return function(dictionary, search)
	--- Scan dictionary
	for key, value in pairs(dictionary) do
		if value == search then
			--- Matching key!
			return key
		end
	end
	
	--- No matching value
	return
end
