add ability to check if entry is a winning word. attempt to implement
analyzeWin