Amazon Interview Question

Implement the game of boggle