tryign to change loop in get_token to store multiple words in stream array. Segmentation fault problem