Working through Head First C book