C Homework 2

Completed assignment