Added readme, and recording code to record info about state at the various snapshots. Changed tabs to spaces