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