Implemented all variants of join and group that don't use folding

Thanks! I was wondering what would be a better idiom for this.