rotten potatoes project for CS169.1x