Skeleton for program that finds interesting points