Unix and C Programming 120: calendar assignment