Refactor create_score_table() #18