Added writing of checkpoints in the main method
Merge branch 'master' of https://github.com/tsunamiSim/SWE