Amazon interview question

Design and implement the Boggle word game