Implemented grouping words on command line based on the locations of < > |