Fixed Logic for solveWord()

Fixed logic in solveWord to account for reflective 1:1 map guarantee