Added working to_string method to the abstract syntax tree.