Adds a function to the dictionary. Subclasses of
funcStore should modify this function according to the type of data to be stored.
name — str, required
The name of the data, to be used as its key for future reference.
function — object|function, required
The data to be stored under the
Return Value — object|function
The added object or function.