working through the classic K & R book "The C Programming Language"