changed method in article

replaced .inject with .map and added .join to the end of the method