one of my first C programs from 1997