small optimization - Boggle solver