created foreach_books.php and began exercise