Exercise: function return, global and static variables (Big Nerd Ranch Guide)