Introduction to C and Translating Python to C