let transitionfinder accept states instead of siteswaps; implement state parser