Implements the game of Boggle (C++)