Adds simple reduce example