added functions needed for boggle

and tests of course