hw2 rotten potatoes