add state diagram jpeg to repo and README