add chapter06 timedemo.c