Now put the text on the page
Implement function 'print' to print to console more easily. Implement function 'getLevel' to return the number of digits of the nesting section numbers.