tkinter adding line number to text widget,root.mainloop()