Improving my C skills