added a reduce example for hadoop courses