Completed getWordScore function