Add first printing function: Debug output

The first printing function just prints a tree of modifiers, that show
how the structure of the schedule looks. It's nice for
debugging.