wrote working function that returns two arrays of words in common
cleaned up code; final passing test that returns shared words in two arrays
read-file code complete