writing a program is for a grade