working through C Programming Language by Kernighan and Ritchie