BOGGLE algorithm

but no input/output