Beginner steps in C programming