Added code to make the reset button work. Removed the helper function
"createButtonPanel".
rows and cols turned into final constants.