Saves to file results.txt