added word counting
added results to file output.txt