week 3: golfifying localMaxima