commtting programming exercise 3.