strtok in number_of_words is causing inf loop;