Homework from my C Class