cs169.1x Homework #2: Rotten Potatoes