create array of words