Added two arg function and iterables.reduce