Learing Go: chapter 3 last assingment calculator