exercises from the book Head First C