exercise 15-1: test Picture interface class