Using wstring in word game