Made the EditText only take in numbers, added the n x n case (not completely working for size restrictions on buttons in Android, working on a work around later).