Committing the code example from Head First C