Learning how to code in C