Adding in ability for game to detect valid words