added timing and writing top 10 answers to answers.txt