done, get correct output for transitions2.txt