Added ability to change the grid size in the command line interface.