assignment 1 in c