Added state variable and fixed bug in mc_sample_path!

This pull request:
* adds the state variable to the type `MarkovChain`
* fixes a bug in `mc_sample_path!()`