fixed addwords methods and added onto loadWordsFromFile