Pregress bar in c