Working on chapter 2 of the tkinter book