splitter outputs words seperately in the array