finished the first exercise of book.