exercise 5 in chapter 7
ignore file *.java~ created by gvim in windows