function each(fn) {
                list.forEach(function eachElement(val, key) {
                    fn(key, val);
                });
            }
Execute fn for each element
@param {function} fn The function to execute
@returns {undefined}