Basic stopping functionality

This commit puts a hasChanged boolean in terraium and whenever any
action in step changes the layout of the grid, changes it to true. If no
action is taken, the grid will run stop()