Function that applies a given function f on every element of a tupl...