writing a program is for mental exercise.