Improve pretty printing
Update doc, fix pretty_printing, improved algorithm for building AST