quiz for words and saves results to file