getline and splitting lines into words now working