Added min/max reduce functions as well as examples