Modify ex14.c, improve code aesthetics.