Shortcomings: - terminals are not marked. - indices not outputted. - result needed manually inserted breaks.
#1 #2