Collecting completed tasks from K&R C-language book... Just to eliminate boredom ^_^