stream input from txt and add strings to array working correctly. Confirmed
by print function.