Homework 3 Rotten Potatoes solution