Simulation now accepts a width and height for the grid