Basic C programs written while learning C