tested and finished boggle2.hs