Assignment 2 C