Modified ch4b.php exercises. End of chapter