abs chapter 14

You probably could have used a while loop here