Added code to get more common word using the frequency list and getSynonyms