exercises from the blue pelican java textbook