boggle and run length encoding