Implementation of Boggle Solver