added functionality to clear button.  User changes grid size