added in javadoc for the classes, started on a dialog box for choosing grid size