added library program, book class