C Programming Assignment