Some C programs from class