Minor refactoring. Changed word list to Dictionary<string,string> instead of Dictionary<int,string> to remove the need to do int conversions.
Renamed variable wordArr to wordId