Assignment1 function 'update_score' bug fixed when score wasn't updating correctly.