Render AST image using tkinter