Using istring typedef in word game solver