added print method that supports multi-line indentations. So that
multi-line tasks get printed nicely.