Add basic connect

Fixes #5 
Same here, use `map` and `Array.prototype.join`.