grade patient now uses the picture class as I wanted.  The bug had something to do with the for loop but I'm not sure what so I just switched it to a while loop