CodeBlock toString and some formatting

made CodeBlock toString return a preorder tree representation