Wrote programs 13-25 from Chapter3