Rotten Potatoes app for homework 2