Calculating score. Still have to show the results chart when exit.