Simple boggle game, completed from half-finished code for Algorithms course.