Implemented stringset and output to .str file. Should be complete pending testing