style fixes
install scripts
use sentinels in the markov chain algorithm