Word Solitaire C language program