rottenpotatoes hw2 part1