Solved boggle board problem