Continue working on exercise 17,

https://github.com/larryv/learn-c-the-hard-way