what is a function or mapping in sets