updated readme to add reduce example