ch01 exercises solved