Update: finished coding get_score()