add sims/util.py with a function to compare two hashdicts.
add sims/phas.py for maintaining reproducible state of random number generator when generating and re-generating sims.