Add `get_sum_transitions` method to `MarkovChain` class